package njupt.dao;

import java.util.List;

import njupt.vo.Cart;

public interface OrderDAO {
	public int createorder(Cart cart, String userid) throws Exception;
	public List<String[]> selectorder(int userid) throws Exception;
	public int createorderdetail(Cart cart,int orderid)throws Exception;
	public List<String[]> selectorderdetail(int orderid)throws Exception;
	public int updateBuyStatus(Cart cart, int orderid)throws Exception;
}
